Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows: add nix-tests workflow #319

Merged
merged 2 commits into from
May 28, 2024
Merged

Conversation

JohnRTitor
Copy link
Contributor

@JohnRTitor JohnRTitor commented May 28, 2024

This PR adds one workflow:

  1. nix-tests - checks nix files, builds the package, on every push and PR
  2. Updates update-flake-lock to run monthly, as there is no need to update dependencies weekly

Workflow-demo: nix-tests

@LGFae
Copy link
Owner

LGFae commented May 28, 2024

Ah, thanks. I was thinking of changing update-flack-lock to run monthly myself.

@LGFae LGFae merged commit c1ecdb0 into LGFae:main May 28, 2024
10 checks passed
@LGFae
Copy link
Owner

LGFae commented May 28, 2024

Wait, what does nix-tests actually do that's different from our current tests?

I should have asked this before merging, but oh well...

@JohnRTitor JohnRTitor deleted the add-workflows branch May 28, 2024 14:30
@JohnRTitor
Copy link
Contributor Author

  1. It builds the package for NixOS, at the end of which, package tests and nix specific tests are run.
  2. It checks the integrity of nix files and dependencies.

Both of the tests, will fail/warn, if a new dependency chain is added or something substantial changed in the build steps, allowing us to fix them before release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants